home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d26
/
scieqs13.arc
/
EXAMPLE5
< prev
next >
Wrap
Text File
|
1989-08-30
|
304b
|
13 lines
!echo
; This file shows how to evaluate derivatives.
!deriv x, 7 : 2*x + 5
!deriv x, 5 : x^2 - 2*x + 3
!deriv x, 4 : (x + 1) ^ 2
!deriv x, pi()/3 : sin(x)
;
; The following uses a limited range because the function is
; undefined at x = 200.1.
;
!deriv x, 200, 0.09 : 1 / (x - 200.1)
!noecho